name=$(basename "$PWD")
currentdate=$(date +%Y%m%d%H%M)
npm run vbuild
mkdir -p $name
mv dist $name/
tar -czvf $name$currentdate.tar.gz $name
echo "打包成功"
rm -rf $name
open .
